﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblUSER_IN_ROLEService
	{
		private static readonly tblUSER_IN_ROLEDAL db = new tblUSER_IN_ROLEDAL();
		#region[tblUSER_IN_ROLE_GetById]
		public static DataTable tblUSER_IN_ROLE_GetById(string Iduser, string idrole)
		{
			return db.tblUSER_IN_ROLE_GetById(Iduser, idrole);
		}
		#endregion
		#region[tblUSER_IN_ROLE_GetByAll]
		public static DataTable tblUSER_IN_ROLE_GetByAll()
		{
			return db.tblUSER_IN_ROLE_GetByAll();
		}
		#endregion
		#region[tblUSER_IN_ROLE_GetByTop]
		public static DataTable tblUSER_IN_ROLE_GetByTop(string Top, string Where, string Order)
		{
			return db.tblUSER_IN_ROLE_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblUSER_IN_ROLE_Insert]
		public static void tblUSER_IN_ROLE_Insert(tblUSER_IN_ROLEInfo Data)
		{
			 db.tblUSER_IN_ROLE_Insert(Data);
		}
		#endregion
		#region[tblUSER_IN_ROLE_Update]
		public static void tblUSER_IN_ROLE_Update(tblUSER_IN_ROLEInfo Data)
		{
			 db.tblUSER_IN_ROLE_Update(Data);
		}
		#endregion
		#region[tblUSER_IN_ROLE_Delete]
		public static void tblUSER_IN_ROLE_Delete(string Iduser, string idroles)
		{
			 db.tblUSER_IN_ROLE_Delete(Iduser, idroles);
		}
		#endregion
		#region[tblUSER_IN_ROLE_GetByROLEID]
		public static DataTable tblUSER_IN_ROLE_GetByROLEID(string ROLEID)
		{
			 return db.tblUSER_IN_ROLE_GetByROLEID(ROLEID);
		}
		#endregion
	}
}